package jdk8.optional;

/**
 * @author Aunean
 * @date 2022/1/15 17:17
 */
public class Girl {

    private String name;

    public Girl() {

    }

    public Girl(String name) {
        this.name = name;
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Girl{" +
                "name='" + name + '\'' +
                '}';
    }
}
